@import "variable";
@import "list";

.root-nav {
  width: 100%;
  background: #f2f2f2;
  padding: 5px 0;
}

.p-box {
  width: 100%;
  background: #f2f2f2;
  border-bottom: solid 1px #f2f2f2;
  margin-bottom: 10px;
  .product-intro {
    width: 100%;
    background-color: white;
    position: relative;
    padding: 15px;
    overflow: hidden;
    .zoom-box {
      float: left;
      margin-right: 15px;
      .short-share {
        zoom: 1;
        padding: 20px 0;
        overflow: hidden;
        a {
          padding: 0 10px 0 17px;
          position: relative;
          float: left;
          display: block;
          white-space: nowrap;
          text-decoration: none;
          b {
            width: 12px;
            background-position: -162px -296px;
            position: absolute;
            display: inline-block;
            top: 2px;
            left: 0;
            height: 12px;
            overflow: hidden;
            background-image: url('../img/newicon20140910.png');
            background-repeat: no-repeat;
          }
          &:nth-child(2) {
            b {
              background-position: -177px -296px;
              width: 14px;
              height: 14px;
              top: 3px;
            }
          }
        }
      }
    }
    .itemInfo {
      width: 50%;
      float: left;
      .itemName {
        h1 {
          margin: 0;
          font-weight: 700;
          font-family: arial, "microsoft yahei";
          font-size: 16px;
        }
        .item-ad {
          font-family: arial, "microsoft yahei";
          color: #e3393c;
          font-size: 14px;
          line-height: 20px;
          word-break: break-all;
          padding-top: 10px;
          a {
            color: #005ea7;
          }
        }
      }
      .summary {
        width: 100%;
        background-color: #f7f7f7;
        padding: 10px;
        position: relative;
        margin: 10px 0;
        .dt {
          width: 72px;
          display: inline;
          text-align: right;
          font-family: simsun;
        }
        .summary-price {
          float: left;
          strong {
            display: inline-block;
            vertical-align: middle;
            color: #e4393c;
            font-size: 20px;
          }
        }
        .summary-info {
          float: right;
          div {
            display: inline-block;
            padding: 0 10px;
            line-height: 15px;
            p {
              margin-bottom: 5px;
              color: #999;
            }
            a {
              font: 14px verdana;
              color: #005ea7;
            }
            &:nth-child(2) {
              border-left: solid 1px #e6e6e6;
              text-align: center;
            }
          }
        }
        .summary-promotion {
          padding-top: 40px;
          padding-bottom: 15px;
          .prom-gift-label {
            padding: 1px 2px;
            color: #fff;
            background-color: #e4393c;
          }
          .prom-gift-item {
            display: inline-block;
            a {
              display: inline-block;
              vertical-align: middle;
              margin: 0 5px;
              img {
                height: 25px;
                width: 25px;
              }
            }
            em {
              font-size: 12px;
              font-family: arial;
              color: #e4393c;
            }
            span {
              margin: 0 5px;
            }
          }

        }
        .summary-quan {
          .quan-item {
            position: relative;
            height: 18px;
            line-height: 18px;
            text-align: center;
            color: #fff;
            background: #eb676a;
            font-size: 14px;
            white-space: nowrap;
            margin-right: 13px;
            cursor: pointer;
            s, b {
              position: absolute;
              top: 0;
              display: block;
              height: 17px;
              width: 3px;
              overflow: hidden;
              background: url('../img/quan-arr.gif') 0 0 no-repeat;
            }
            s {
              left: -3px;
            }
            b {
              right: -3px;
              background-position: -3px 0;
            }
            span {
              padding: 0 10px;
              color: #fef4d3;
              font-size: 12px;
            }
          }
        }
      }
      .stock {
        .dt {
          width: 70px;
          display: inline;
          text-align: right;
          font-family: simsun;
          padding-left: 10px;
        }
        .dd {
          width: auto;
          strong {
            vertical-align: middle;
            font-size: 14px;
            line-height: 23px;
          }
        }
        .area_wrap {
          display: inline-block;
          vertical-align: middle;
        }
        .store-prompt {
          display: inline-block;
          line-height: 27px;
          padding-left: 10px;
          a {
            margin: 0 10px;
            &:first-child {
              margin-left: 0;
            }
          }
        }
      }
      .summary-service {
        padding: 10px;
        .dt {
          width: 72px;
          display: inline;
          text-align: right;
          font-family: simsun;
        }

      }
      .choose {
        width: 100%;
        padding: 0 10px;
        border-top: 1px dotted #ddd;
        .box {
          margin: 10px 0;
        }
        .dt {
          width: 72px;
          display: inline;
          text-align: right;
          font-family: simsun;
        }
        .dd {
          display: inline-block;
          vertical-align: middle;
          .item {
            position: relative;
            float: left;
            margin: 2px 8px 2px 0;
            b {
              position: absolute;
              bottom: 0;
              right: 0;
              width: 12px;
              height: 12px;
              overflow: hidden;
              background: url('../img/newicon20140910.png') no-repeat -202px -224px;
            }
            a {
              display: block;
              white-space: nowrap;
              text-decoration: none;
              text-align: center;
              padding: 4px 6px;
              border: 1px solid #ccc;
              background: #fff;
              float: left;
              &:hover {
                border: 2px solid #e4393c;
                padding: 3px 5px;
              }
            }
            .a-border {
              border: 2px solid #e4393c;
              padding: 3px 5px;
              color: #e4393c;
            }
          }
        }
      }
      .choose-btns {
        width: 100%;
        padding: 10px;
        .choose-amount {
          float: left;
          width: 49px;
          height: 34px;
          overflow: hidden;
          border: 1px solid #ccc;
          position: relative;
          .wrap-input {
            a {
              display: block;
              white-space: nowrap;
              text-decoration: none;
              width: 15px;
              text-align: center;
              height: 18px;
              line-height: 17px;
              overflow: hidden;
              background: #f1f1f1;
              color: #666;
              position: absolute;
              right: -1px;
              border: 1px solid #ccc;
            }
            .disabled {
              display: block;
              white-space: nowrap;
              text-decoration: none;
            }
            .btn-reduce {
              bottom: -1px;
            }
            .btn-add {
              top: -1px;
            }
            input {
              display: block;
              width: 31px;
              height: 32px;
              line-height: 32px;
              position: absolute;
              top: 1px;
              left: 0;
              border: none;
              border: 0;
              text-align: center;
            }

          }
        }
        .btn-default {
          font-size: 0;
          width: 150px;
          float: left;
          height: 38px;
          background: url("../img/p-btns.png") no-repeat 0 0;
          border: none;
          margin-left: 13px;
          vertical-align: middle;
        }

      }
      .hint {
        padding: 10px;
      }
    }
    .extInfo {
      float: left;
      width: 20%;
      height: 299px;
      margin-left: 15px;
      .brand-logo {
        padding: 10px 0;
        overflow: hidden;
        border-top: solid 1px #eee;
        border-bottom: solid 1px #eee;
        a {
          display: block;
          text-align: center;
          img {
            width: 180px;
            height: 56px;
          }
        }
      }
      .seller-infor {
        position: relative;
        padding: 15px 9px;
        overflow: hidden;
        line-height: 20px;
        font-size: 0;
        text-align: center;
        .name {
          display: inline-block;
          width: 126px;
          height: 20px;
          color: #005aa0;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          vertical-align: middle;
          font-size: 12px;
        }
        .u-jd {
          display: inline-block;
          width: 54px;
          height: 18px;
          line-height: 18px;
          text-align: center;
          border-radius: 3px;
          font-family: simsun;
          color: #fff;
          background: #e4393c;
          font-size: 12px;
          vertical-align: middle;
        }
      }
      .pop-shop-enter {
        text-align: center;
        a {
          display: inline-block;
          width: 45%;
          height: 30px;
          line-height: 30px;
          margin: 2px;
          border: 1px solid #cdcdcd;
          background: #f9f9f9;
          border-radius: 0;
          color: #666;
          padding: 0 2px;
          text-align: center;
          i {
            display: inline-block;
            width: 17px;
            height: 18px;
            margin-right: 4px;
            background: url('../img/popScore.png') no-repeat;
            vertical-align: -4px;
          }
          &:nth-child(2) i {
            background-position: -104px 0;
          }
          &:nth-child(3) i {
            background-position: -78px 0;
          }
        }
      }
    }
  }
}

.b-box {
  padding: 0;
  width: 100%;
  .match-box {
    width: 100%;
    border: 1px solid #ddd;
    overflow: visible;
    border-top: 4px #999999 solid;
    margin-bottom: 10px;
    .nav-tabs {
      margin-top: -1px;
      margin-left: -1px;
      background-color: #F7F7F7;
      li {
        a {
          font-weight: 700;
          font-family: "Microsoft YaHei", "Century Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
        }
      }
      .active {
        a {
          color: white;
          background-color: #e4393c;
        }
      }
    }
    .tab-content {
      padding: 10px;
      .master, .suits, .infos {
        float: left;
        width: 150px;
        text-align: center;
        overflow: hidden;
        s {
          float: right;
          display: inline;
          width: 24px;
          height: 22px;
          background-position: 0 -260px;
          margin-top: 40px;
          margin-right: 3px;
          background-image: url('../img/newicon20140910.png');
          background-repeat: no-repeat;
        }
        .p-img {
          width: 100px;
          height: 100px;
        }
        .p-name {
          width: 100px;
          height: 35px;
          overflow: hidden;
        }
      }
      .infos {
        float: right;
        line-height: 20px;
        s {
          float: left;
          width: 24px;
          height: 22px;
          background-position: -30px -260px;
          margin-top: 40px;
        }
        .p-name, .p-suit, .p-price, .p-saving, .btns {
          margin-left: 35px;
          color: #999;
        }
        .p-name {
          a {
            font-weight: 700;
            color: #005AA0;
          }

        }
        .p-suit {
          strong {
            color: #E4393C;
          }
        }
        .p-saving {
          text-align: left;
        }
        .btns {
          a {
            display: block;
            width: 77px;
            height: 25px;
            margin-top: 10px;
            background-position: -166px -112px;
            text-align: center;
            line-height: 25px;
            color: #fff;
            font-weight: 700;
            background-image: url('../img/newicon20140910.png');
            background-repeat: no-repeat;
          }

        }
      }
    }
  }
  .main-box {
    .aside-bar {
      width: 20%;
      float: left;
      position: relative;
      .main-aside {
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        .aside-title {
          margin-bottom: 20px;
          h5 {
            display: inline-block;
            margin: 0;
          }
          span {
            float: right;
            color: #DDDDDD;
          }
        }
        .aside-list {
          .article-list {
            li {
              margin-bottom: 15px;
              border-bottom: dashed 1px #ddd;
              figure {
                margin-bottom: 5px;
                .figure-img {
                  width: 100%;
                  height: 220px;
                  display: block;
                  margin-bottom: 10px;
                  img {
                    width: 100%;
                    height: 100%;
                  }
                }
              }
              .p-price {
                text-align: center;
                color: #e4393c;
                font-size: 16px;
                margin-bottom: 10px;
                a {
                  display: inline-block;
                  height: 16px;
                  padding: 0 2px;
                  margin-left: 3px;
                  background: #E4393C;
                  line-height: 16px;
                  text-align: center;
                  font-size: 12px;
                  font-style: normal;
                  color: #FFF;
                }
              }
              .evaluate {
                color: #999;
              }
            }
          }
        }
      }
    }
    .main-list {
      float: right;
      width: 79%;
      .match-box {
        border: none;
        .tab-content {
          .tab-pane {
            .p-parameter {
              padding-bottom: 10px;
              border-bottom: 1px dashed #999999;
              .parameter-brand {
                padding: 15px 0 15px 42px;
                .paramete-name {
                  color: #005aa0;
                }
                .attention {
                  margin-left: 5px;
                  height: 25px;
                  line-height: 25px;
                  padding: 4px 10px;
                  border: 1px solid #ddd;
                  background-color: #f8f8f8;
                  b {
                    color: #e4393c;
                    font-size: 22px;
                    font-family: simsun;
                    vertical-align: middle;
                    padding-right: 3px;
                  }

                }
              }
              .parameter2 {
                li {
                  padding-left: 42px;
                  float: left;
                  overflow: hidden;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  width: 200px;
                  line-height: 22px;
                }
              }
            }
            .img-list {
              width: 100%;
              a {
                display: block;
                width: 90%;
                margin: 20px auto;
                img {
                  width: 100%;
                  height: 300px;
                }
              }
            }
            .Ptable {
              margin: 15px 0;
              .Ptable-item {
                border-bottom: 1px dashed #eee;
                padding: 15px 0;
                line-height: 220%;
                color: #999;
                margin-top: -1px;
                font-size: 12px;
                h3 {
                  width: 110px;
                  font-size: 12px;
                  font-weight: 400;
                  text-align: right;
                  float: left;
                  margin: 0;
                  padding: 0;
                }
                dl {
                  margin-left: 110px;
                  margin-bottom: 0;
                  dt {
                    width: 150px;
                    float: left;
                    text-align: right;
                    font-weight: 100;
                  }
                  dd {
                    margin-left: 190px;
                  }
                }
              }
            }
            .comment-info {
              overflow: hidden;
              zoom: 1;
              padding: 25px 0;
              .comment-percent {
                width: 90px;
                float: left;
                padding: 20px;
                .percent-tit {
                  font-size: 12px;
                  color: #666;
                  font-weight: 400;
                }
                .percent-con {
                  line-height: 110%;
                  font-size: 45px;
                  color: #E4393C;
                  font-family: arial;
                  span {
                    font-size: 23px;
                  }
                }
              }
              .percent-info {
                margin-left: 90px;
                .tag-list {
                  padding-left: 20px;
                  height: auto;
                  overflow: visible;
                  span {
                    display: inline-block;
                    line-height: 20px;
                    padding: 0 9px;
                    border: 1px solid #e0e0e0;
                    border-radius: 2px;
                    margin-right: 10px;
                    margin-bottom: 10px;
                    color: #999;
                  }
                }

              }

            }
            .tab-main {
              border: 1px solid #f5f5f5;
              background-color: #fafafa;
              padding-left: 10px;
              li {
                position: relative;
                display: inline-block;
                font-family: "microsoft yahei";
                cursor: pointer;
                padding: 5px 10px;
              }
            }
            .tab-con {
              .comment-item {
                zoom: 1;
                padding: 15px;
                border-bottom: 1px solid #ddd;
                .user-column {
                  width: 140px;
                  float: left;
                  .user-info {
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    img {
                      border-radius: 50%;
                      margin-right: 5px;
                    }
                  }
                  .user-level {
                    padding-top: 3px;
                  }
                }
                .comment-column {
                  margin-left: 150px;
                  .comment-star {
                    width: 78px;
                    height: 14px;
                    background: url(../img/star.png) no-repeat;
                  }
                  .comment-con {
                    font-size: 14px;
                    padding: 10px 0;
                    line-height: 180%;
                    color: #333;
                  }
                  .pic-list {
                    padding-bottom: 15px;
                    img {
                      border: 1px solid #e2e2e2;
                      padding: 1px;
                      margin-right: 6px;
                      vertical-align: middle;
                    }
                  }
                  .comment-message {
                    .order-info {
                      float: left;
                      color: #999;
                    }
                    .comment-op {
                      float: right;
                      a {
                        display: inline-block;
                        margin-left: 25px;
                        color: #666;

                        i {
                          margin-right: 5px;
                          vertical-align: -2px;
                          width: 16px;
                          height: 16px;
                          background-image: url('../img/__sprite.png  ');
                          background-position: -16px -34px;
                          display: inline-block;
                        }
                        &:nth-child(2) i {
                          background-position: -32px -34px;
                        }
                        &:hover {
                          color: #e4393c;
                          > i {
                            background-position: 0 -34px;
                          }
                        }
                        &:nth-child(2):hover > i {
                          background-position: 0 -50px;
                        }
                      }
                    }
                  }
                }
              }
            }
            .item-detail {
              padding: 0 10px;
              line-height: 180%;
              .serve-agree-bd {
                padding: 20px 20px 20px 62px;
                dl {
                  dt {
                    display: block;
                    height: 32px;
                    line-height: 32px;
                    margin-left: -46px;
                    font-size: 16px;
                    color: #e4393c;
                    font-family: "microsoft yahei";
                    i {
                      display: inline-block;
                      width: 32px;
                      height: 32px;
                      line-height: 32px;
                      vertical-align: bottom;
                      margin-right: 10px;
                    }
                    strong {
                      padding: 8px 0 3px;
                    }
                    .goods {
                      background: url(../img/iconZP.png) no-repeat;
                    }
                  }
                  dd {
                    display: block;
                    padding: 10px 0 30px;
                    line-height: 18px;
                  }
                }
              }
            }
          }
        }
      }

    }
  }
}


